package com.biShe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小刘
 * @since 2023-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Goods对象", description="")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "单品名")
    private String name;

    @ApiModelProperty(value = "单品图片")
    private String images;

    @ApiModelProperty(value = "单品价格")
    private Float price;

    @ApiModelProperty(value = "单品描述")
    private String content;

    @ApiModelProperty(value = "是否要选温度等属性")
    private Integer useProperty;

    @ApiModelProperty(value = "商品所属分栏种类")
    private Integer category;

    @TableLogic
    private Integer deleted;


}
